#ifndef GATEWAY_INFO_H
#define GATEWAY_INFO_H

#include <string>

class GatewayInfo
{
public:
    GatewayInfo() = default;
    GatewayInfo(const std::string &host, uint16_t id) : host(host), id(id) {}

    std::string getHost() const { return host; }
    void setHost(const std::string &host) { this->host = host; }

    uint16_t getId() const { return id; }
    void setId(uint16_t id) { this->id = id; }

    GatewayInfo &operator=(const GatewayInfo &other)
    {
        host = other.host;
        id = other.id;
        return *this;
    }

private:
    std::string host;
    uint16_t id;
};

#endif //GATEWAY_INFO_H